'use strict';

/**
 * @name HeaderCtrl
 * @author Yud
 */

angular.module('metalabOperationApp').controller('HeaderCtrl', ['$scope', 'MetaUtils', function ($scope, MetaUtils) {
    $scope.openModel = MetaUtils.openModel;
    angular.element('#open-sidebar').on('click', function () {
    	angular.element('.meta-sidebar').toggleClass('open-sidebar');
    	angular.element('.meta-content').toggleClass('open-sidebar');
    });
}]);
